From f33d720cb67c3b7c35f57475bc7370af3b223b77 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 8 Jan 2025 22:31:54 +0900 Subject: fix waybar-wallust colors not applying battery not charging waybar animation changes to reduce cpu usage as per wiki --- .../waybar/style/[Wallust Bordered] Chroma Simple.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/waybar/style/[Wallust Bordered] Chroma Simple.css') diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index 0196f85f..fed61902 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -259,6 +259,23 @@ tooltip { border: 2px solid @color8; } +@keyframes blink { + to { + color: @color12; + } +} + +#battery.critical:not(.charging) { + background-color: red; + color: white; + animation-name: blink; + animation-duration: 3.0s; + animation-timing-function: steps(12); + animation-iteration-count: infinite; + animation-direction: alternate; + box-shadow: inset 0 -3px transparent; +} + #custom-weather { color: #8eacf3; border-right: 0px; -- cgit v1.2.3